﻿namespace BathroomLocator.Services.Serializers
{
	using System.Xml;
	using BathroomLocator.Services.Infrastructure;

	public class XmlSerializer : IFormatSerializer
	{
		public string SerializeReply(object originalReply, out string contentType)
		{
			contentType = HttpConstants.MimeApplicationAtomXml;

			return (originalReply as XmlDocument).InnerXml;
		}
	}
}